package net.xju_19_20.entity;

import lombok.Data;

@Data
public class Bean01 {

    private int id;
    private String name;

    public Bean01() {
        System.out.println("Bean01");
    }

    public void init() {
        System.out.println("初始化完成调用的方法");
    }
    public void destroy() {
        System.out.println("销毁之前调用的方法");
    }
}
